package org.com.ashen.service.dao;


import org.com.ashen.dal.dataobject.SMSSPTemplate;
import org.com.ashen.dal.mapper.SMSSPTemplateMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service("sMSSPTemplateDao")
public class SMSSPTemplateDao {
    @Resource
    private SMSSPTemplateMapper smsspTemplateMapper;

    public SMSSPTemplate selectByPrimaryKey(String templateCode){
        if(templateCode == null){
            return null;
        }
        return smsspTemplateMapper.selectByPrimaryKey(templateCode);
    }
}
